package cn.rc.rcsystem.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author director
 * @since 2022-12-09
 */
@TableName("lease_order_car")
public class LeaseOrderCar extends Model<LeaseOrderCar> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Integer state;
    private String sn;
    @TableField("car_rental_id")
    private Long carRentalId;
    @TableField("user_id")
    private Long userId;
    @TableField("shop_id")
    private Long shopId;
    private Date createtime;
    private Date updatetime;
    private String shopaddress;
    private BigDecimal deposit;
    private String brand;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Long getCarRentalId() {
        return carRentalId;
    }

    public void setCarRentalId(Long carRentalId) {
        this.carRentalId = carRentalId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getShopaddress() {
        return shopaddress;
    }

    public void setShopaddress(String shopaddress) {
        this.shopaddress = shopaddress;
    }

    public BigDecimal getDeposit() {
        return deposit;
    }

    public void setDeposit(BigDecimal deposit) {
        this.deposit = deposit;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LeaseOrderCar{" +
        ", id=" + id +
        ", state=" + state +
        ", sn=" + sn +
        ", carRentalId=" + carRentalId +
        ", userId=" + userId +
        ", shopId=" + shopId +
        ", createtime=" + createtime +
        ", updatetime=" + updatetime +
        ", shopaddress=" + shopaddress +
        ", deposit=" + deposit +
        ", brand=" + brand +
        "}";
    }
}
